package rentadomus

class Images {
    byte[] uploadFile
    static belongsTo = [place: Place]
    static constraints = {
        // Limit upload file size to 2MB
        uploadFile maxSize: 1024 * 1024 * 2
    }
    
    static mapping = {
        version false
    } 
}
